﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Public;
using QLT_Data;
using System.Data;

namespace QLT_BLL
{
    public class CTHoaDonBH_BLL
    {
        CTHoaDonBH_Data cTHoaDonBH = new CTHoaDonBH_Data();
        public DataTable LayDuLieu()
        {
            return cTHoaDonBH.LayDuLieu();
        }
        public DataTable taoBang(string sql)
        {
            return cTHoaDonBH.TaoBang(sql);
        }
        public int insert_CTHoaDonBH(CTHoaDonBH_Public maHDBH, CTHoaDonBH_Public maThuoc, CTHoaDonBH_Public soLuong, CTHoaDonBH_Public ngayBan, CTHoaDonBH_Public ghiChu)
        {
            return cTHoaDonBH.Insert_CTHoaDonBH(maHDBH,maThuoc, soLuong, ngayBan, ghiChu);
        }
        public int update_CTHoaDonBH(CTHoaDonBH_Public maHDBH, CTHoaDonBH_Public maThuoc,  CTHoaDonBH_Public soLuong,CTHoaDonBH_Public ngayBan, CTHoaDonBH_Public ghiChu)
        {
            return cTHoaDonBH.Update_CTHoaDonBH(maHDBH, maThuoc, soLuong, ngayBan, ghiChu);
        }
        public int delete_CTHoaDonBH(CTHoaDonBH_Public maHDBH, CTHoaDonBH_Public maThuoc)
        {
            return cTHoaDonBH.Delete_CTHoaDonBH(maHDBH, maThuoc);
        }
    }
}
